package cn.com.nes.mybatis.agent.ope.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * crm流程相关表关系(CrmFlowTableRelationship)实体类
 *
 * @author ShenWei
 * @since 2024-08-23 14:50:26
 */
@Data
@TableName("crm_flow_table_relationship")
public class CrmFlowTableRelationship {
    
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 商机uuid
     */
    @TableField("opportunity_uuid")
    private String opportunityUuid;
    
    /**
     * 销售订单id
     */
    @TableField("sale_order_id")
    private Long saleOrderId;
    
    /**
     * 销售订单下系统单id
     */
    @TableField("sale_price_master_id")
    private Long salePriceMasterId;

    /**
     * 安装工单id
     */
    @TableField("work_order_id")
    private Long workOrderId;

    /**
     * 是否删除 0 - 没删除 1 - 已删除
     */
    @TableField("deleted")
    private boolean deleted;

    /**
     * 创建人id
     */
    @TableField("gmt_create_id")
    private Long gmtCreateId;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * 修改人id
     */
    @TableField("gmt_modified_id")
    private Long gmtModifiedId;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;
}
